import request from "@/utils/request"
//获取物流列表
export const getShipping = (params: any) => {
    return request({
        url: '/marketers/shipping/list',
        method: 'get',
        params: params
    })
}
//获取物流详细
export const getShippingDetail = (orderId: string) => {
    return request({
        url: `/marketers/shipping/${orderId}`,
        method: 'get'
    })
}
//新增物流
export const addShipping = (data: any) => {
    return request({
        url: '/marketers/shipping/add',
        method: 'post',
        data: data
    })
}